﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ext.Master" AutoEventWireup="true" CodeBehind="dojo.aspx.cs" Inherits="Demo.dojo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        function fun1() {
            alert("hello");
        }
        function fun2() {
            alert("world");
        }
        dojo.connect('fun1', fun2);


        function btnOK_click() {
            fun1();
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <input type="button" name="btnOK" value="确定" onclick="btnOK_click()" />
</asp:Content>
